About
Lelande
HTML5 Portfolio Template
- created:
- version: v1.1
- updated:
- by: themekiosk
- email: themekiosk@zoho.com
Lelande is nice, minimal and modern HTML5 Personal Template built with Foundation 6 Framework.
Structure
Files Structure
Once downloaded, unzip the compressed folder to see the structure:
html template/
├── css/
│ ├── foundation.css
│ ├── foundation.min.css
│ ├── chocolat.css
│ ├── main.css
│ ├── materialdesignicons.css
│ ├── materialdesignicons.min.css
│ └── slick.css
├── fonts/
│ ├── materialdesignicons-webfont.eot
│ ├── materialdesignicons-webfont.svg
│ ├── materialdesignicons-webfont.ttf
│ ├── materialdesignicons-webfont.woff
│ └── materialdesignicons-webfont.woff2
├── img/
│ ├── chocolat - controls for chocolat.js lightbox
│ └── *images - placeholders
├── js/
│ └── vendor/
│ └── *for detailed list see js section
│ ├── contact.js
│ └── main.js
├── php/
│ └── contact-form.php
├── 404.html
├── about.html
├── blog.html
├── contact.html
├── index.html
├── post.html
├── project.html
├── shortcodes.html
└── work.html
Html Structure
This theme is a responsive layout based on Foundation 6 Framework. All information within the main content area is nested within a body tag. The general template structure is the same throughout the template.
General structure:
Simple HTML Boilerplate (index.html):
My name is Léonie Cordier. ...
CSS Structure
All css files are located in css folder:
- foundation.css, foundation.min.css - Foundation 6 (v6.2.3) Framework base stylesheets.
- chocolat.css - Chocolat.js Lightbox css styles.
- main.css - base file that includes general styles for pages.
- materialdesignicons.css, materialdesignicons.min.css - Material Design Icons css style file
- slick.css - stylesheet for Slick: Touch enabled jQuery plugin that lets you create responsive carousel slider
main.css
This file includes css styles for pages. If you want to change style, colors, margin, padding, font settings etc. of the template you should start from this file.
/* Table of Contents
=================================================== */
/*
* Default
* Preloader
* Typography
* Components
* Accordion
* Badge
* Buttons
* Flexbox
* Forms
* Menu
* Pagination
* Progress bars
* Tab
* Table
* Top Bar
* Layout
* Header
* Main
* Section
* Sidebar
* Social List
* Offset Wrap
* Skills
* Services
* Masonry
* Post
* Widgets
* Comments
* Sample Project
* Contact
* Footer
* Print styles
* Preloader Animation
*/
Example:
/* Header
=================================================== */
.header {
background: none no-repeat scroll center center #ffffff;
height: auto;
position: relative;
z-index: 12;
}
.heading {
color: rgba(0, 0, 0, 0.67);
margin: 0;
padding: 12rem 0 10rem;
position: relative;
text-align: center;
z-index: 1;
}
foundation.css, foundation.min.css
Foundation 6 Framework base stylesheets. Includes all components and elements, typography, lists, buttons, button groups, navigations, navbars, forms, labels, pricing tables and much more. This stylesheet must always be included! We recommend minified version foundation.min.css for use. For development you can use foundation.css.
JavaScript
All JavaScript files are located in js folder.
- vendor/
- foundation.js, foundation.min.js - Foundation 6 JavaScript library.
- imagesloaded.pkgd.min.js - Imagesloaded detect when images have been loaded.
- jquery-3.1.1.min.js - jQuery is a fast, small, and feature-rich JavaScript library.
- jquery.chocolat.min.js - Chocolat.js jQuery lightbox plugin
- masonry.pkgd.min.js -Masonry is a JavaScript grid layout library. It works by placing elements in optimal position based on available vertical space, sort of like a mason fitting stones in a wall.
- slick.js - Slick: Touch enabled jQuery plugin that lets you create responsive carousel slider
- contact.js - Contact Form JavaScript file
- main.js - Custom script, initialize all necessary scripts and functions
Installation
Getting the Template Online
Warning! This is not a Wordpress template. Running, uploading or inserting in Wordpress CMS will have no effect.
This is HTML5 template, you do not need create a database. Just simply upload to the server.
It's important to understand that you must either have your own server space or use someone elses. The server space can be purchased at many different places around the internet. You need somewhere to put the files that you purchased so others can find them online.
The template folder will have several files with the extension labeled .html. This is where all your content will. It's very important to keep the css and js-plugin folders with the HTML or the HTML will not look how the design is meant to look. Along with the HTML files, you will also have four additional folders to upload: css, js, fonts, and images.
Start your FTP client (Total Commander or FileZilla) and login. Login to your server. You will need your server name (often times this will be your domain name), username, and password that you setup with the hosting company.
php Contact Form works only in server environment with installed php.
Load your content on server or use webserver on your machine.
Customization
Layout Settings
Insert your content, write your text, load your photos and images. Compress the size of images and photos. Demo template uses high resolution images, but for normal use it is not appropriate. High-res photos = slow website loading.
You can change HTML structure. Move sections in main content as needed.
Fonts
Google fonts
Free Google fonts: Dosis and Cormorant
Dosis font used for Headings h1,h2, ... h6.
Cormorant is default body font. Used for all tags p, address, ul etc. in template (paragraphs, text, letters...) and for Headings with class .serif
Example Text
Lorem ipsum dolor sit amet, consectetur.
- lorem
- ipsum
Material Design Icons
Default Icon font for our template is Material Design Icons
Basic structure: <i class="mdi mdi-facebook"></i>
Replace icon name (icon name = css class), example mdi-facebook, with the actual icon name you wish to display, example mdi-home. Then your new icon is <i class="mdi mdi-home"></i>
Important: Google Fonts are used as hosted libraries.
The recommended way to use all Google Font´s is by linking to the web font hosted on Google Fonts.
Progress Bars
Set value in HTML code. Open about.html and follow the example below:
Change number value aria-valuenow="number"
Contact Form
This template contains fully working contact form. Forms used:
-
Abide Validation: Abide is a form validation library that extends the HTML5 validation API with custom validators. Included in Foundation 6 Framework.
-
script
contact.js(must be included before end body tag in all html files where you need form, example contact.html or another pages with form)...